import request from '@/utils/request'

// 封装一个获取验证码的接口
export const code = (data) => {
  return request({
    url: '/au/code',
    method: 'POST',
    data
  })
}

// 封装一个登录的接口
export const login = (data) => {
  return request({
    url: '/au/login',
    method: 'POST',
    data
  })
}
